Teletrol Allegro Protocol

 

Teletrol Allegro communication driver is the driver to communicate with Integrator controller of Teletrol in America.

 

1. Read settings

 

<Figure 1> is read setting example of Integrator Controller developed from TELETROL in America.

This protocol's DEVICE settings use designated contents from DLL library, so, set as None.

Also, You can enter user name of Allegro library(TELETROL : Default), password(PASSWORD : Default), Workstation Segment number(1 : Default),  Workstation Node number(101 : Default ), max Polling time(Default : 10 sec) and delay time of before and after digital/analog output(Default : 300 msec), respectively, at protocol option part.

<Figure 1> Read setting example of Teletrol Allegro library

 
<Figure 2> Teletrol Allegro library configuration dialog box
<Figure 2> is dialog box which is shown by pressing option button() of communication setting screen, and you can set communication method, communication speed, IP number, PORT number, etc.

Communication setting of <Figure 2> input UDP/IP, IP number(162.0.9.2), Integrator service port number(no.1).

If you want to use Teletrol Allegro library, DLL files(allegro.dll, ...) which are supported from Allegro library are copied to communication program DLL directory or window system directory.

 

You can use contents read of controller by using Teletrol Allegro library.

READ STATION
(Don't care)
Read Command Read Start Address,
Point No.,
Variable No.
Save start address for Communication Server Read Size OPB Item or Page Index
READ, 0, 0, 1, 1, 50,
READ, 0, 0, 51, 51, 50,
READ, 0, 0, 101, 101, 50,
READ, 0, 0, 151, 151, 50,
READ, 0, OP, 101, 200, 1, 0,
READ, 0, OP, 101, 203, 1, 1,
READ, 0, VA, 1001, 210, 1,
READ, 0, VA, 1002, 212, 1,
READ, 0, VA, 1003, 214, 1,  

1) STATION : Don't care. (Fixed to 0)

2) Read command : 0 – Normal, OP – OPB item, VA – Variable.

3) Read Start Address : Read address. Normal - 1 ~ 512, OP or VA – Setting position.

4) Save start address for Communication Server : Saving start address of Communication Server.

5) Read Size : Number of items to read at a time. (Normal memory is 1 ~ 512,  Max 512 , OP or VA fixed to 1)

6) OPB Item or Page Index : Use in case of read command is OP.

 

You can save below 3 contents to memory by using single OP read command.

Save Addr + 0  :  Attribute value.

Save Addr + 1  :  Control program write value.

Save Addr + 2  :  Priority.

 

You can save below 2 contents to memory by using single VA read command.

Save Addr + 0  :  Value.

Save Addr + 1  :  Lock.

 

2. Writing settings

 

Digital Write

Digital write setting parameters are as follows:

PORT    Connected PORT number            0 ~ 255

ADDRESS           Output address              Digital output address between 1 and 512 value.

 

Write example)

Port : 0 Address:0021,

The setting parameter shown above is example of changing(ON/OFF) no.21 status value of Teletrol controller.

 

Analog Write

Analog write setting parameters are as follows:

PORT                  Connected PORT number            0 ~ 255

STATION             Point number when write type is OPB only

ADDRESS           Normal - Analog output address between 1 and 512 value, OP – OPB item index or page number, VA – Variable number.

EXTRA1               Normal – Blank, OP – OPB write, VA – Variable write.

EXTRA2               Normal gdgd– Don't care, OP – Operation code 2 : Lock, 3 : Unlock, Etc : SetVal(Set point), VA – Control status 0 : none, 1 : User lock.

 

Write example 1)

Port : 0  Address:0007,

The setting parameter shown above is example of changing no.7 value of Teletrol controller.

 

Write example 2)

Port : 0  Station:101  Address:0000  Extra1:OP Extra2:1,

The setting parameter shown above is analog write example of changing SetVal(Set point) of 101 point first item index for Teletrol controller's OPB item.

 

Write example 3)

Port : 0  Station:101  Address:0001  Extra1:OP Extra2:2,

The setting parameter shown above is analog write example to Lock 101 point second item index of OPB item for Teletrol controller.

 

Write example 4)

Port : 0  Station:101  Address:0000  Extra1:OP Extra2:3,

The setting parameter shown above is analog write example to Unlock 101 point first item index of OPB item for Teletrol controller.

 

Write example 5)

Port : 0  Address:1001  Extra1:VA Extra2:0,

The setting parameter shown above is analog write example of setting value of 1001 Variable number for Teletrol controller and changing control status as none.

 

Write example 6)

Port : 0  Address:1002  Extra1:VA Extra2:1,

The setting parameter shown above is analog write example of setting value of 1002 Variable number for Teletrol controller and changing control status as User lock.